<%@ Page Language="VB" AutoEventWireup="false" CodeFile="PrintableCopy.aspx.vb" Inherits="RIAssessments_PrintableCopy" Title="Assessments - Printable Copy" %>
<%@ Reference Control="~/RIAssessments/TemplateOne.ascx" %>
<%@ Reference Control="~/RIAssessments/TemplateTwo.ascx" %>
<%@ Reference Control="~/RIAssessments/TemplateThree.ascx" %>
<%@ Reference Control="~/RIAssessments/TemplateFour.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
</head>
<body>
    <form id="form1" runat="server">
    
    
        <script type="text/javascript">
            function ToggleDetailsPanel(panelId, imageButtonId) {
                var panel = document.getElementById(panelId);
                var image = document.getElementById(imageButtonId);
                if (panel.style.display == 'none') {
                    panel.style.display = 'inline';
                    image.src = '../images/minus.gif';
                } else {
                    panel.style.display = 'none';
                    image.src = '../images/plus.gif';
                }
            }    
        </script>
    
        <table border="0" cellpadding="4" cellspacing="0" width="650" style="font-size: 8pt">
            <tr>
                <td style="padding-top:0px; border-bottom: black 1px solid;">
                    <asp:Label ID="HeaderLabel" runat="server" CssClass="AdminHeader" Font-Bold="True" Font-Names="Verdana" Text="Assessment" Font-Size="9pt"></asp:Label>
                    <br />
                    <asp:Label ID="NameLabel" runat="server" CssClass="AdminHeader" Font-Bold="False" Font-Names="Verdana"
                        Font-Size="9pt"></asp:Label>
                    <br />
                    <asp:Label ID="MedicaidIdLabel" runat="server" CssClass="AdminHeader" Font-Bold="False" Font-Names="Verdana"
                        Font-Size="9pt"></asp:Label></td>
                <td align="right" style="padding-top:0px; border-bottom: black 1px solid; width: 388px;">
                    <asp:Label ID="MessageLabel" runat="server" Font-Names="ms sans serif,arial,verdana,helvetica,sans-serif"
                        Font-Size="9pt" ForeColor="navy" Visible="false"></asp:Label>&nbsp;</td>
            </tr>
            <tr>
                <td align="left" valign="top">
                    <asp:Label ID="FuncCharHeaderLabel" runat="server" Text="Functional Characteristics:" Font-Bold="True" Font-Names="ms sans serif,arial,verdana,helvetica,sans-serif" Font-Size="9pt"></asp:Label>
                    <br />
                    <asp:CheckBoxList ID="FuncCharCheckBoxList" runat="server" RepeatColumns="3" Font-Names="ms sans serif,arial,verdana,helvetica,sans-serif" Font-Size="7pt" Font-Bold="False">
                    </asp:CheckBoxList>
                </td>
                <td align="right" valign="top" style="width: 388px">
                    <asp:Panel ID="CalculatedBudgetPanel" runat="server">
                        <table border="0" cellpadding="2" cellspacing="0">
                            <tr>
                                <td align="right" style="font-family:ms sans serif,arial,verdana,helvetica,sans-serif; font-size:9pt">
                                    <asp:Label ID="CalculatedBudgetLabel" runat="server" AssociatedControlID="CalculatedBudgetValueLabel" Text="Calculated Budget:"></asp:Label>&nbsp;
                                </td>
                                <td><asp:Label ID="CalculatedBudgetValueLabel" Font-Names="ms sans serif,arial,verdana,helvetica,sans-serif" Font-Size="9pt" runat="server"></asp:Label></td>
                            </tr>
                        </table>
                    </asp:Panel>
                    <asp:Panel ID="ApprovedBudgetPanel" runat="server">
                        <table border="0" cellpadding="2" cellspacing="0">
                            <tr>
                                <td align="right" style="font-family:ms sans serif,arial,verdana,helvetica,sans-serif; font-size:9pt">
                                    <asp:Label ID="ApprovedBudgetLabel" runat="server" AssociatedControlID="ApprovedBudgetValueLabel" Text="Approved Budget:"></asp:Label>&nbsp;</td>
                                <td><asp:Label ID="ApprovedBudgetValueLabel" Font-Names="ms sans serif,arial,verdana,helvetica,sans-serif" Font-Size="9pt" runat="server"></asp:Label></td>
                            </tr>
                        </table>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="height: 206px">
                    <asp:GridView ID="AdlsAssessmentActivityGridView" runat="server" CssClass="gridOffsetSmall" HorizontalAlign="Center" Width="650px" CellPadding="5" 
                            AutoGenerateColumns="False" BorderColor="#21334B" BorderStyle="Solid" GridLines="Vertical" Caption="<span class='captionStyle'>Category:&nbsp;<b>ADLS</b></span>" CaptionAlign="Top">
                        <HeaderStyle CssClass="adminHeaderStyle" BackColor="#C3CAD4" BorderColor="#21334B" VerticalAlign="Top" />
                        <RowStyle CssClass="adminColumnStyle" />
                            <Columns>
                                <asp:TemplateField HeaderText="Activity" SortExpression="Description">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Bottom" />
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" Width="15%" />
                                    <ItemTemplate>
                                        <asp:Label ID="ActivityLabel" runat="server" Font-Size="9pt" Width="98%" Text='<%# Eval("Description") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" Width="85%" />
                                    <ItemTemplate>
                                        <asp:Panel ID="ActivityDetailsPanel" runat="server" Width="98%"></asp:Panel>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="AssessmentActivityId" />
                                <asp:BoundField DataField="ControlName" />
                            </Columns>
                        <AlternatingRowStyle BackColor="#E8ECF4" />
                    </asp:GridView>    
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:GridView ID="IadlsAssessmentActivityGridView" runat="server" CssClass="gridOffsetSmall" HorizontalAlign="Center" Width="650px" CellPadding="5" 
                            AutoGenerateColumns="False" BorderColor="#21334B" BorderStyle="Solid" GridLines="Vertical" Caption="<span class='captionStyle'>Category:&nbsp;<b>IADLS</b></span>" CaptionAlign="Top">
                        <HeaderStyle CssClass="adminHeaderStyle" BackColor="#C3CAD4" BorderColor="#21334B" VerticalAlign="Top" />
                        <RowStyle CssClass="adminColumnStyle" />
                            <Columns>
                                <asp:TemplateField HeaderText="Activity" SortExpression="Description">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Bottom" />
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" Width="15%" />
                                    <ItemTemplate>
                                        <asp:Label ID="ActivityLabel" runat="server" Font-Size="9pt" Width="98%" Text='<%# Eval("Description") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" Width="85%" />
                                    <ItemTemplate>
                                        <asp:Panel ID="ActivityDetailsPanel" runat="server" Width="98%"></asp:Panel>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="AssessmentActivityId" />
                                <asp:BoundField DataField="ControlName" />
                            </Columns>
                        <AlternatingRowStyle BackColor="#E8ECF4" />
                    </asp:GridView>    
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" valign="middle">
                &nbsp;
                    <asp:Button ID="PrintButton" runat="server" Text="Print" Width="100px" /></td>
            </tr>
        </table>    
    
    </form>
</body>
</html>
